package tcm.test.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class UserDTO {

    private String username;

    private String password;

    private Long id;

    private String phone;

    private Integer gender;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date dateOfBirth;

    private String image;

}
